import request from "@/utils/request";

export const getList = params => {
    return request({
      url: '/product/list',  
      params
    })
} 

export const update = params => {
    return request({
      url: '/product/update',  
      method: 'POST',
      data: params
    })
}


export const deleteProduct = params => {
    return request({
      url: '/product/delete',  
      method:'get',
      params
    })
} 